//package com.letoken.platform.repo.wallet.manager;
//
//import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
//import com.letoken.platform.pub.enums.CollectionBizTypeEnum;
//import com.letoken.platform.repo.admin.res.config.QueryRechargeTokenListRes;
//import com.letoken.platform.repo.admin.res.config.QueryTokenListRes;
//import com.letoken.platform.repo.app.dao.TokenMapper;
//import com.letoken.platform.repo.app.po.Token;
//import com.letoken.platform.repo.app.redis.AppWalletTokenRedis;
//import com.letoken.platform.repo.app.res.assets.QueryTokenAssetsRes;
//import com.letoken.platform.repo.wallet.dao.WalletCollectionDetailMapper;
//import com.letoken.platform.repo.wallet.dao.WalletCollectionMapper;
//import com.letoken.platform.repo.wallet.po.WalletCollection;
//import com.letoken.platform.repo.wallet.po.WalletCollectionDetail;
//import lombok.extern.log4j.Log4j2;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.stereotype.Repository;
//import org.springframework.util.StringUtils;
//
//import java.util.List;
//
///**
// * @author letokenlabs
// * @date 2022/11/18$
// */
//@Log4j2
//@Repository
//public class WalletCollectionManager {
//
//    @Autowired
//    private WalletCollectionMapper collectionMapper;
//
//    @Autowired
//    private WalletCollectionDetailMapper collectionDetailMapper;
//
//
//    public WalletCollection queryCollectionById(Integer collectionId) {
//        return collectionMapper.selectById(collectionId);
//    }
//
//    /**
//     * 查询归集任务明细
//     * @param collectionId
//     * @param bizType 1给账号转gas, 2归集资金
//     * @return
//     */
//    public WalletCollectionDetail queryCollectionDetail(Integer collectionId, CollectionBizTypeEnum bizType) {
//        QueryWrapper<WalletCollectionDetail> query = new QueryWrapper<>();
//        query.eq("collection_id", collectionId);
//        query.eq("biz_type", bizType.getValue());
//        query.in("status", 0, 1, 2);
//        return collectionDetailMapper.selectOne(query);
//    }
//}
